package com.wyl.dto.basic;

import com.wyl.condition.aggr.AggrCondition;
import com.wyl.condition.query.Condition;
import com.wyl.enumeration.ShowTypeEnum;

/**
 * 门户运行参数
 * @author 吴宇亮 on 2023/4/21 17:01
 */
public class PortalBasicRunParam implements PortalRunParam {

    /**
     * 过滤条件
     */
    private Condition query;
    /**
     * 聚类条件
     */
    private AggrCondition aggr;
    /**
     * 期望运行结果获得的展示方式-数据格式
     */
    private ShowTypeEnum showType;

    public Condition getQuery() {
        return query;
    }

    public PortalBasicRunParam setQuery(Condition query) {
        this.query = query;
        return this;
    }

    public AggrCondition getAggr() {
        return aggr;
    }

    public PortalBasicRunParam setAggr(AggrCondition aggr) {
        this.aggr = aggr;
        return this;
    }

    public ShowTypeEnum getShowType() {
        return showType;
    }

    public PortalBasicRunParam setShowType(ShowTypeEnum showType) {
        this.showType = showType;
        return this;
    }
}
